<template>
  <Transition name="width" appear>
    <slot></slot>
  </Transition>
</template>

<style>
.width-enter-from,
.width-leave-to {
  width: 0px !important;
}

.width-enter-active,
.width-leave-active {
  transition: width 10s linear;
}
</style>
